"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@angular/core");
var router_1 = require("@angular/router");
exports.routes = [
    {
        path: 'index',
        loadChildren: 'app/main/index/index.module#IndexModule'
    },
    {
        path: 'applet-setting',
        loadChildren: 'app/main/applet-setting/applet-setting.module#AppletSettingModule'
    },
    {
        path: 'data-analysis',
        loadChildren: 'app/main/data-analysis/data-analysis.module#DataAnalysisModule'
    },
    {
        path: 'activity-manage',
        loadChildren: 'app/main/activity-manage/activity-manage.module#ActivityManageModule'
    },
    {
        path: 'store-dash',
        loadChildren: 'app/main/store-dash/store-dash.module#StoreDashModule'
    },
    {
        path: 'preview',
        loadChildren: 'app/main/preview/preview.module#PreviewModule'
    },
    {
        path: 'store-product',
        loadChildren: 'app/main/store-product/store-product.module#StoreProductModule'
    },
    // {
    //   path: 'store-setting',
    //   loadChildren: 'app/main/store-setting/store-setting.module#StoreSettingModule'
    // },
    {
        path: '',
        redirectTo: 'index',
        pathMatch: 'full'
    }
];
var AdminRoutingModule = /** @class */ (function () {
    function AdminRoutingModule() {
    }
    AdminRoutingModule = __decorate([
        core_1.NgModule({
            imports: [
                router_1.RouterModule.forChild(exports.routes)
            ],
            exports: [
                router_1.RouterModule
            ],
            providers: []
        })
    ], AdminRoutingModule);
    return AdminRoutingModule;
}());
exports.AdminRoutingModule = AdminRoutingModule;
